package com.java.mybatis.pojo;

public class User {
    private Integer uId;
    private String uName;
    private int uAge;
    private char uGender;

    public User() {
    }

    public User(Integer uId, String uName, int uAge, char uGender) {
        this.uId = uId;
        this.uName = uName;
        this.uAge = uAge;
        this.uGender = uGender;
    }

    public Integer getUid() {
        return uId;
    }

    public void setUid(Integer uid) {
        this.uId = uId;
    }

    public String getUname() {
        return uName;
    }

    public void setUname(String uname) {
        this.uName = uName;
    }

    public int getAge() {
        return uAge;
    }

    public void setAge(int age) {
        this.uAge = uAge;
    }

    public char getGender() {
        return uGender;
    }

    public void setGender(char gender) {
        this.uGender = uGender;
    }

    @Override
    public String toString() {
        return "User{" +
                "uId=" + uId +
                ", uName='" + uName + '\'' +
                ", uAge=" + uAge +
                ", uGender=" + uGender +
                '}';
    }
}
